<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>

<!DOCTYPE html>
<html class="bg-black">
<head>
<meta charset="UTF-8">

<c:choose>
	<c:when test="${pageTitle!=null}">
		<title>${pageTitle}</title>
	</c:when>
	<c:otherwise>
		<title><tiles:insertAttribute name="title" ignore="true" /></title>
	</c:otherwise>
</c:choose>

<meta
	content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no'
	name='viewport'>
<link
	href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"
	rel="stylesheet" type="text/css" />
<link
	href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.1.0/css/font-awesome.min.css"
	rel="stylesheet" type="text/css" />
<!-- Theme style -->
<link href="<c:url value='/admin/css/AdminLTE.css'/>" rel="stylesheet"
	type="text/css" />

<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
          <script src="//oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
          <script src="//oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
        <![endif]-->

<!-- add new calendar event modal -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script
	src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"
	type="text/javascript"></script>
</head>

<body class="bg-black">
	<div class="form-box" id="login-box">
		<div class="header">
			<spring:message code="admin.user.login.form.title" />
		</div>
		<form action="forgotPassword.html" method="post">
			<div class="body bg-gray">
				<c:choose>
					<c:when test="${message==null}">
						<div class="form-group">
					</c:when>
					<c:otherwise>
						<div class="form-group has-error">
							<label for="inputError" class="control-label"><i
								class="fa fa-times-circle-o"></i> ${message}</label>
					</c:otherwise>
				</c:choose>
					<spring:message code="admin.user.login.form.user.id" var="userId" />
					<input type="text" name="username" class="form-control"
						placeholder="${userId}" />
				</div>
			</div>
			<div class="footer">
				<button type="submit" class="btn bg-olive btn-block">
					<spring:message code="admin.form.button.submit" />
				</button>
				<button type="button" class="btn btn-danger btn-block" onclick="window.location.href='login.html';">
					<spring:message code="admin.form.button.back" />
				</button>
			</div>
		</form>
	</div>
</body>
</html>